package com.example.springboot.utils.avro.vo;

/**
 * @Description: TODO
 * @author zhanghan
 * @date 2017年9月20日 上午10:50:33
 */
public class Base_IMSI {
	
	private String GuildID;
	/** 数据时间（来源数据包） */
	public String Time;
	/** 组织机构代码 */
	public String ManufacturerCode;
	/** 地区编码 */
	public String AreaCode;
	/** 场所编码 */
	public String UnitCode;
	/** 设备编码 */
	public String MachineCode;
	/** 系统类型 */
	public String SystemType;
	/** 数据源ID */
	public Long DATASOURCEID;
	/** 经度 */
	public Double Lon;
	/** 纬度 */
	public Double Lat;
	/** 创建时间（来源数据包） */
	public String CreateTime;
	/** 首次地区编码 */
	public String FirstAreaCode;
	/** 首次场所编码 */
	public String FirstUnitCode;
	/** 首次设备编码 */
	public String FirstMachineCode;
	/** 首次数据源ID */
	public Long FirstDATASOURCEID;
	/** 数据源类型，程序定义 */
	public Integer RESOURCETYPE;
	/** 数据写入时间（来源服务端操作系统） */
	public String WriterTime;
	/** 接口分组ID/数据来源ID（ZhejiangType） */
	public Integer InterfaceGroupID;
	/** 设备IMEI */
	public String IMEI;
	/** 手机IMSI */
	public String IMSI;
	/** 信号值 */
	public Integer Power;
	/** 手机号码 */
	public String Mobile;
	/**
	 * 信号制式枚举 【须属性项】 0: 默认值 1: GSM制式 2: WCDMA制式 3: CDMA2000制式 4: TD_SCDMA制式 5:
	 * TDD_LTE制式 6: FDD_LTE制式
	 */
	public Integer Type;
	/** 设备采集模块号 */
	public String DevCode;
	
	public String getGuildID() {
		return GuildID;
	}

	public void setGuildID(String guildID) {
		GuildID = guildID;
	}

	public String getTime() {
		return Time;
	}

	public void setTime(String time) {
		Time = time;
	}

	public String getManufacturerCode() {
		return ManufacturerCode;
	}

	public void setManufacturerCode(String manufacturerCode) {
		ManufacturerCode = manufacturerCode;
	}

	public String getAreaCode() {
		return AreaCode;
	}

	public void setAreaCode(String areaCode) {
		AreaCode = areaCode;
	}

	public String getUnitCode() {
		return UnitCode;
	}

	public void setUnitCode(String unitCode) {
		UnitCode = unitCode;
	}

	public String getMachineCode() {
		return MachineCode;
	}

	public void setMachineCode(String machineCode) {
		MachineCode = machineCode;
	}

	public String getSystemType() {
		return SystemType;
	}

	public void setSystemType(String systemType) {
		SystemType = systemType;
	}

	public Long getDATASOURCEID() {
		return DATASOURCEID;
	}

	public void setDATASOURCEID(Long dATASOURCEID) {
		DATASOURCEID = dATASOURCEID;
	}

	public Double getLon() {
		return Lon;
	}

	public void setLon(Double lon) {
		Lon = lon;
	}

	public Double getLat() {
		return Lat;
	}

	public void setLat(Double lat) {
		Lat = lat;
	}

	public String getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(String createTime) {
		CreateTime = createTime;
	}

	public String getFirstAreaCode() {
		return FirstAreaCode;
	}

	public void setFirstAreaCode(String firstAreaCode) {
		FirstAreaCode = firstAreaCode;
	}

	public String getFirstUnitCode() {
		return FirstUnitCode;
	}

	public void setFirstUnitCode(String firstUnitCode) {
		FirstUnitCode = firstUnitCode;
	}

	public String getFirstMachineCode() {
		return FirstMachineCode;
	}

	public void setFirstMachineCode(String firstMachineCode) {
		FirstMachineCode = firstMachineCode;
	}

	public Long getFirstDATASOURCEID() {
		return FirstDATASOURCEID;
	}

	public void setFirstDATASOURCEID(Long firstDATASOURCEID) {
		FirstDATASOURCEID = firstDATASOURCEID;
	}

	public Integer getRESOURCETYPE() {
		return RESOURCETYPE;
	}

	public void setRESOURCETYPE(Integer rESOURCETYPE) {
		RESOURCETYPE = rESOURCETYPE;
	}

	public String getWriterTime() {
		return WriterTime;
	}

	public void setWriterTime(String writerTime) {
		WriterTime = writerTime;
	}

	public Integer getInterfaceGroupID() {
		return InterfaceGroupID;
	}

	public void setInterfaceGroupID(Integer interfaceGroupID) {
		InterfaceGroupID = interfaceGroupID;
	}

	public String getIMEI() {
		return IMEI;
	}

	public void setIMEI(String iMEI) {
		IMEI = iMEI;
	}

	public String getIMSI() {
		return IMSI;
	}

	public void setIMSI(String iMSI) {
		IMSI = iMSI;
	}

	public Integer getPower() {
		return Power;
	}

	public void setPower(Integer power) {
		Power = power;
	}

	public String getMobile() {
		return Mobile;
	}

	public void setMobile(String mobile) {
		Mobile = mobile;
	}

	public Integer getType() {
		return Type;
	}

	public void setType(Integer type) {
		Type = type;
	}

	public String getDevCode() {
		return DevCode;
	}

	public void setDevCode(String devCode) {
		DevCode = devCode;
	}

	@Override
	public String toString() {
		return "Base_IMSI [Time=" + Time + ", ManufacturerCode="
				+ ManufacturerCode + ", AreaCode=" + AreaCode + ", UnitCode="
				+ UnitCode + ", MachineCode=" + MachineCode + ", SystemType="
				+ SystemType + ", DATASOURCEID=" + DATASOURCEID + ", Lon="
				+ Lon + ", Lat=" + Lat + ", CreateTime=" + CreateTime
				+ ", FirstAreaCode=" + FirstAreaCode + ", FirstUnitCode="
				+ FirstUnitCode + ", FirstMachineCode=" + FirstMachineCode
				+ ", FirstDATASOURCEID=" + FirstDATASOURCEID
				+ ", RESOURCETYPE=" + RESOURCETYPE + ", WriterTime="
				+ WriterTime + ", InterfaceGroupID=" + InterfaceGroupID
				+ ", IMEI=" + IMEI + ", IMSI=" + IMSI + ", Power=" + Power
				+ ", Mobile=" + Mobile + ", Type=" + Type + ", DevCode="
				+ DevCode + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((IMSI == null) ? 0 : IMSI.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Base_IMSI other = (Base_IMSI) obj;
		if (IMSI == null) {
			if (other.IMSI != null)
				return false;
		} else if (!IMSI.equals(other.IMSI))
			return false;
		return true;
	}
	
	
}
